<?php
// +----------------------------------------------------------------------
// | [KyPHP System] Copyright (c) 2020 http://www.kuryun.com/
// +----------------------------------------------------------------------
// | [KyPHP] 并不是自由软件,你可免费使用,未经许可不能去掉KyPHP相关版权
// +----------------------------------------------------------------------
// | Author: fudaoji <fdj@kuryun.cn>
// +----------------------------------------------------------------------
/**
 * Created by PhpStorm.
 * Script Name: MpTemplatemsgTask.php
 * Create: 2022/10/29 9:49
 * Description: 模版消息任务
 * Author: fudaoji<fdj@kuryun.cn>
 */

namespace app\common\model;

use ky\BaseModel;

class MpTemplatemsgTask extends BaseModel
{
    //protected $isCache = true;

    public static function statusList($id = null){
        $list = [
            0 => '待发送',
            1 => '发送中',
            2 => '已完成',
            3 => '已终止'
        ];
        return isset($list[$id]) ? $list[$id] : $list;
    }
}